-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution #867
base: master
Are you sure you want to change the base?
Solution #867
Conversation
YaroslavBordovoy
commented
Nov 19, 2024
•
edited
Loading
edited
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on implementing the task requirements! 🎉 Your code is well-structured and meets most of the core requirements. While there are some minor improvements suggested, such as ensuring that user.id
is correctly used in the driver-detail
view, these do not significantly impact the functionality. Keep up the good work, and consider the feedback for future enhancements. 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
{% if user.is_authenticated %} | ||
<li> | ||
User: | ||
<a href="{% url "taxi:driver-detail" pk=user.id %}">{{ user.username }}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that the user.id
is the correct identifier for the driver-detail
view. If user
is not directly related to the Driver
model, this might cause an issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GJ, but don't forget to add blank lines at the end of the files